﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace SkinningSample
{
    /// <summary>
    /// オブジェクトの基底クラス
    /// </summary>
    class ObjectBase
    {
        #region Fields::変数宣言
        
        /// <summary>
        /// 位置
        /// </summary>
        private Vector3 position;

        /// <summary>
        /// 拡大率
        /// </summary>
        private float scale = 1.0f;

        /// <summary>
        /// 回転
        /// </summary>
        private float rotation;
        
        #endregion

        #region Get&Set::ゲッター&セッター

        public Vector3 Position {
            get { return this.position; }
            set { this.position = value; }
        }

        public float Scale {
            get { return this.scale; }
            set { this.scale = value; }
        }

        public float Rotation {
            get { return this.rotation; }
            set { this.rotation = value; }
        }
        #endregion

        #region Update::更新
        public virtual void Update(GameTime gameTime) { 
        }
        #endregion

        #region Draw::描画
        public virtual void Draw(GameTime gameTime, Matrix view, Matrix projection) { 
        
        }
        #endregion
    }
}
